package com.ugrow.ugrowcommunity.vm.home;

import androidx.annotation.IntDef;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

public class RootBean {
    public static final int MSE_CARD = 0;
    public static final int VIDEO = 1;
    public static final int IMAGE = 2;
    public static final int TEXT = 3;
    public static final int ADV = 4;


    @Retention(RetentionPolicy.SOURCE)
    @Target(ElementType.PARAMETER)
    @IntDef({MSE_CARD, VIDEO, IMAGE, TEXT, ADV})
    public @interface Type {
    }

    private int type;
    private String title;
    private String content;
    private String icon;
    private String jump_url;
    private String video_url;
    private String first_image_url;
    private String sec_image_url;
    private String third_image_url;
    private String adv_image_url;

    public int getType() {
        return type;
    }

    public void setType(@Type int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getJump_url() {
        return jump_url;
    }

    public void setJump_url(String jump_url) {
        this.jump_url = jump_url;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getFirst_image_url() {
        return first_image_url;
    }

    public void setFirst_image_url(String first_image_url) {
        this.first_image_url = first_image_url;
    }

    public String getSec_image_url() {
        return sec_image_url;
    }

    public void setSec_image_url(String sec_image_url) {
        this.sec_image_url = sec_image_url;
    }

    public String getThird_image_url() {
        return third_image_url;
    }

    public void setThird_image_url(String third_image_url) {
        this.third_image_url = third_image_url;
    }

    public String getAdv_image_url() {
        return adv_image_url;
    }

    public void setAdv_image_url(String adv_image_url) {
        this.adv_image_url = adv_image_url;
    }
}
